﻿using Abp.Domain.Services;

namespace AVIS.OutBound.Members
{

    public class MemberManager : DomainService, IMemberManager
    {

        private readonly IMemberRepository _memberRepository;

        public MemberManager(IMemberRepository memberRepository)
        {
            _memberRepository = memberRepository;
        }

        public Member GetById(int id) {
            return _memberRepository.GetById(id);
        }

        public void Update(Member member) {
            _memberRepository.Update(member);
        }
    }
}
